package com.hxkj.config;

import com.platform.common.service.sftp.config.URLFormatAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * created by kezhijie on 2018/8/27 17:51.
 * email to kezhijie@hxoss.com
 */
@Configuration
public class SftpConfig {

    @Bean
    public URLFormatAspect urlFormatAspect() {
        URLFormatAspect urlFormatAspect = new URLFormatAspect();
        String[] urls = new String[]{"avatar", "thumbnail", "siteLogo"};
        urlFormatAspect.setUrls(urls);
        return urlFormatAspect;
    }
}
